package net.ubinow.mflex.exceptions;



/**
 *
 * @author Josh
 */
public class SerializationException
        extends MFException
{
    private static final String ERR_CODE = "ERR_SERIALIZATION";

    public SerializationException( final int errorNumber )
    {
        super( errorNumber );
        errorCode = ERR_CODE;
    }

    public SerializationException( final int errorNumber, final String message)
    {
        super( errorNumber, message );
        errorCode = ERR_CODE;
    }

    public SerializationException( final int errorNumber, final Throwable cause )
    {
        super( errorNumber, cause );
        errorCode = ERR_CODE;
    }

    public SerializationException(
            final int       errorNumber,
            final String    message,
            final Throwable cause
    )
    {
        super( errorNumber, cause, message );
        errorCode = ERR_CODE;
    }
}
